
Microsoft Visual Studio Code Samples
Contents
Microsoft Visual Basic code samples
Microsoft Visual C++ code samples and include files
Microsoft Foundation Classes (MFC) code samples
Microsoft Visual J++ code samples
Most of the code samples below are zipped, downloadable files that include a short Readme.txt
file with further instructions for building and running the sample. The
instructions assume that you are using Microsoft® Visual Basic®
(version 5.0 or higher), Microsoft Visual C++® (version 5.0 or higher),
or Microsoft Visual J++, as appropriate.
The header files for
programming the Microsoft Agent COM interfaces from Microsoft Visual
C++ code can be found with the corresponding C++ code samples.
For information about programming Microsoft Agent with the Microsoft .NET Framework or Visual Studio .NET, there is a separate Web page.
Microsoft Visual Basic code samples
Instructions for
installing and running the sample are included in the download. These
instructions assume that you are using Microsoft Visual Basic (version
5.0 or higher). You will be instructed to download and install
Microsoft Agent and the character data files to build and run the
sample.
Download the Hello World Visual Basic Sample (2 KB zip)
Illustrates using Microsoft Agent with Visual Basic.
Requires: Agent Core Components, Text-To-Speech Engine, Characters. Level: Basic.
Download the Character Animation Preview Tool (CAP) (8 KB zip)
Illustrates how to perform several operations with a character and provides a handy tool for previewing a character's animation.
Requires: Agent Core Components, Characters(.ACS format) Text-To-Speech Engine, Level: Intermediate.
Back to list of contents
Microsoft Visual C++ code samples and include Files
Instructions for
installing and running the sample are included in each download. These
instructions assume that you are using Microsoft Visual C++ (version
5.0 or higher). You will be instructed to download and install
Microsoft Agent and the character data files to build and run the
samples.
Download Microsoft Agent Include files (70 KB zip)
These header files define the COM (Component Object Model)
interfaces to the Agent Server. You'll need these if you plan to call
the Agent Server COM interfaces from a C++ program.
Download the Hello World C++ Sample (4 KB zip)
Illustrates using Microsoft Agent with C++.
Requires: Agent Core Components, Characters. Level: Intermediate.
Download the Hello World 2 C++ Sample (7 KB zip)
Illustrates Hello World with AgentNotifySink. Demonstrates how to receive Agent events in C++.
Requires: Agent Core Components, Characters. Level: Intermediate.
Download the Hello World 3 C++ Sample (7 KB zip) Illustrates Hello World with AgentNotifySink and two characters. Demonstrates how to use Agent events to coordinate multiple characters in C++.
Requires: Agent Core Components, Characters. Level: Intermediate.
Download the Character Animation Preview Tool sample (28 KB zip)
Illustrates how to perform several operations with a character and
provides a handy tool for previewing a character's animation. Requires: Agent Core Components, Text-To-Speech Engine, Characters. Level: Advanced.
Back to list of contents
Microsoft Foundation Classes (MFC) code samples
Instructions for
installing and running the sample are included in each download. These
instructions assume that you are using MFC. You will be instructed to
download and install Microsoft Agent and the character data files to
build and run the samples.
Download the Character Animation Preview Tool Sample (47 KB zip)
Illustrates how to perform several operations with a character and
provides a handy tool for previewing a character's animation. Requires: Agent Core Components, Text-To-Speech Engine, Characters. Level: Intermediate.
Back to list of contents
Microsoft J++ code samples
Instructions for
installing and running the sample are included in each download. These
instructions assume that you are using Microsoft Visual J++. You will
be instructed to download and install Microsoft Agent and the character
data files to build and run the samples.
Download the Hello World J++ Sample (4 KB zip)
Illustrates using Microsoft Agent from a J++ applet.
Requires: Agent Core Components, Text-To-Speech Engine, Characters. Level: Basic.
Download the Hello World 2 J++ Sample (6 KB zip)
Illustrates Hello World with AgentNotifySink. Demonstrates how to receive Agent events in J++.
Requires: Agent Core Components, Text-To-Speech Engine, Characters. Level: Intermediate.
Download the Hello World 3 J++ Sample (6 KB zip)
Illustrates Hello World with AgentNotifySink and two characters. Demonstrates how to use Agent events to coordinate multiple characters in J++.
Requires: Agent Core Components, Text-To-Speech Engine, Characters. Level: Intermediate.
Download the Character Animation Preview (CAPJ) Sample (13 KB zip)
Illustrates how to perform several operations with a character and
provides a handy tool for previewing a character's animation. Requires: Agent Core Components, Text-To-Speech Engine, Characters. Level: Advanced.
Back to list of contents
Microsoft .NET and C# code samples
HTML code samples
Microsoft Office code samples
Microsoft Visual FoxPro code samples
Code samples introductory page
Back to the Microsoft Agent home page
Last Updated: May 2, 2003
|